﻿Imports System.Configuration
Imports System.Text.RegularExpressions

Public Class Configs
    'Public Shared WebName As String = ConfigurationManager.AppSettings("WebName").ToString
    'Public Shared WebTitle As String = ConfigurationManager.AppSettings("WebTitle").ToString
    'Public Shared WebDescription As String = ConfigurationManager.AppSettings("WebDescription").ToString
    'Public Shared HomeUrl As String = ConfigurationManager.AppSettings("HomeUrl").ToString
    'Public Shared TimeLine As Double = Double.Parse(ConfigurationManager.AppSettings("TimeLine").ToString)
    'Public Shared UserFolder As String = ConfigurationManager.AppSettings("UserFolder").ToString()
    'Public Shared FolderSaveData As String = ConfigurationManager.AppSettings("FolderSaveData").ToString()
    'Public Shared FolderTemplate As String = ConfigurationManager.AppSettings("FolderTemplate").ToString()
    'Public Shared YahooAvatar As String = ConfigurationManager.AppSettings("YahooAvatar").ToString()
    'Public Shared IsCommentAlert As Boolean = Boolean.Parse(ConfigurationManager.AppSettings("IsCommentAlert").ToString())
    'Public Shared SmtpHost As String = ConfigurationManager.AppSettings("SmtpHost").ToString()
    'Public Shared SmtpUser As String = ConfigurationManager.AppSettings("SmtpUser").ToString()
    'Public Shared SmtpPass As String = ConfigurationManager.AppSettings("SmtpPass").ToString()
    'Public Shared Domain As String = ConfigurationManager.AppSettings("Domain").ToString()
    'Public Shared WebMasterEmail As String = ConfigurationManager.AppSettings("WebMasterEmail").ToString()
    'Public Shared WebReportEmail1 As String = ConfigurationManager.AppSettings("WebReportEmail1").ToString()
    'Public Shared WebReportEmail2 As String = ConfigurationManager.AppSettings("WebReportEmail2").ToString()
    Public viewLog As String = ConfigurationManager.AppSettings("ViewLog").ToString
    Public log As String = ConfigurationManager.AppSettings("Log").ToString
    Public Image2 As String = ConfigurationManager.AppSettings("Image2").ToString
    Public Image3 As String = ConfigurationManager.AppSettings("Image3").ToString
    Public Image4 As String = ConfigurationManager.AppSettings("Image4").ToString
    Public Image5 As String = ConfigurationManager.AppSettings("Image5").ToString
    Public Developer As String = ConfigurationManager.AppSettings("Developer").ToString
    Public ProductPerPage As String = ConfigurationManager.AppSettings("ProductPerPage").ToString
    Public NewPerPage As String = ConfigurationManager.AppSettings("NewPerPage").ToString
    Public Shortcut As String = ConfigurationManager.AppSettings("Shortcut").ToString
    Public ShortcutTitle As String = ConfigurationManager.AppSettings("ShortcutTitle").ToString
    Public Domain As String = ConfigurationManager.AppSettings("Domain").ToString


    Public Function getConn() As String
        Dim ConnectionString As String = ConfigurationManager.AppSettings("ConnectionString").ToString
        Return ConnectionString
    End Function
End Class
